# 1-100的素数
for j in range(1,101):
    if j == 1:
        continue 
    if j == 2:
        print(j)
        continue
    is_su = True 
    for i in range(2,j):
        if j % i == 0:
            is_su = False 
            break
    if is_su == True:
        print(j)